package com.crm.service;

import java.util.List;
import java.util.Map;

import com.crm.model.ConsultInfoManagePay;
import com.crm.model.entity.ConsultInfoManagePayEntity;
import com.github.pagehelper.Page;

public interface ConsultInfoManagePayService extends BaseService<ConsultInfoManagePay>{
	/**
	 * 查询收入明细
	 * @param page
	 * @param ConsultInfoManage
	 * @return
	 */
	public List<ConsultInfoManagePayEntity> selectPayDetail(Page<ConsultInfoManagePayEntity> page,ConsultInfoManagePayEntity consultInfoManagePayEntity);
	/**
	 * 统计各种费用的总和
	 * @param ConsultInfoManage
	 * @return
	 */
    public List<Map<String,Object>> selectKindOfPayCount(ConsultInfoManagePayEntity consultInfoManagePayEntity);
    
    public List<ConsultInfoManagePay> getPayDetailByInfoId(String infoManageId);
    
    public ConsultInfoManagePay getPaySumByInfoId(String infoManageId);
	
}
